package org.spring.springboot.pojo;


import org.spring.springboot.base.AppConstant;
import org.spring.springboot.tools.KeySecretUtil;

public class RequstData {

	private String TOKEN;
    private String SERVICE;
    private String DATAPARAM;
    //���������Զ���ȡtoken
    public RequstData(){
    	TOKEN = AppConstant.token;
    }
    
	public String getSERVICE() {
		return SERVICE;
	}
	public void setSERVICE(String sERVICE) {
		SERVICE = sERVICE;
	}

	public String getDATAPARAM() {
		return DATAPARAM;
	}

	public void setDATAPARAM(String dATAPARAM) {
		
		DATAPARAM = KeySecretUtil.Encrypt(dATAPARAM, AppConstant.keySecret);
//		DATAPARAM = dATAPARAM;
	}

	@Override
	public String toString() {
		return "RequstData [TOKEN=" + TOKEN + ", SERVICE=" + SERVICE + ", DATAPARAM=" + DATAPARAM + "]";
	}
	
}
